/******************************************************************************************
 * Import
 ******************************************************************************************/

// module
import Taro, { Component } from '@tarojs/taro'

// project
import { CPage, CContent, CHeader, CFooter, CFloat, CAround, CBetween, CCenter, CColumn, CRow, CWrap, CLine, CHand, CItemX, CItemY, CText, CLabel, CSvg, CImage, CButton, CTouch } from '../../library/comp';
import { Base64, Gen, Time, Zip, Session, Storage, Toast, Loading, Modal, ActionSheet, Http } from '../../library/func';
import Icon from '../../project/style/icon';


/******************************************************************************************
 * Export Class
 ******************************************************************************************/

export default class Index extends Component {
	
	/*------------------------------------------------------------------------------------
	 * 初始化
	 *-----------------------------------------------------------------------------------*/
	constructor(props) {
		super(props);

	}

	/*------------------------------------------------------------------------------------
	 * 生命周期
	 *-----------------------------------------------------------------------------------*/
	// didMount
	componentDidMount() {

		// ------------------------------------------------------- Toast
		// Toast.text('测试一下');
		// Toast.success('成功了');
		// Toast.error('错误');

		// ------------------------------------------------------- Loading
		// Loading.show('加载中');
		// setTimeout(()=> {
		// 	Loading.hide()
		// }, 3000);
		
		// ------------------------------------------------------- Modal
		// Modal.alert('测试标题', '测试内容', ()=> {
		// 	console.log('用户点击了确认');
		// });
		// Modal.confirm('测试标题', '测试内容', ()=> {
		// 	console.log('用户点击了确认');
		// }, ()=> {
		// 	console.log('用户点击了取消');
		// });

		// ------------------------------------------------------- ActionSheet
		// ActionSheet.show(['测试1', '测试2', '测试3'], (index)=> {
		// 	console.log('选择了第：' + index + '个选项！')
		// });

	}

	/*------------------------------------------------------------------------------------
	 * 渲染
	 *-----------------------------------------------------------------------------------*/
	render () {
		return (
			<CPage>
				
			</CPage>
		)
	}
}


